import {requestResponse} from '../../../config/axios.conf'

// 获取banner
export const carouselMap = () => requestResponse('get', '/anon/market/findCarouselMapById', {id: 10})

// 统计数量
export const getstatistics = () => requestResponse('get', '/anon/statistics')

// 获取首页专家
export const getCommunityExpertPage = () => requestResponse('get', '/anon/homeCommunityExpertPage', JSON)

// 获取首页文章
export const getFirstReceptionPage = (JSON:any) => requestResponse('get', '/anon/communityFirstReceptionPage', JSON)

// 获取首页建筑圈
export const getAllTopicList = () => requestResponse('get', '/anon/community/jyjQueryAllTopicList', JSON)

// 专家中心列表
export const communityExpertPage = (JSON:any) => requestResponse('post', '/anon/findCommunityExpertPage', JSON)

// 个人页面
export const findCommunityExpertByUserId = (json: any) => requestResponse('get', '/anon/findCommunityNews', json)
